<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: dice Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">dice Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdice_1_1cancel__offer.html">cancel_offer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdice_1_1claim__expired.html">claim_expired</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdice_1_1offer__bet.html">offer_bet</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdice_1_1offer__primary__key.html">offer_primary_key</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdice_1_1player.html">player</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdice_1_1reveal.html">reveal</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a4ae1a0587cb1215cd3f3f8b64fbd3761"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">eos_tokens</a> = eosio::tokens</td></tr>
<tr class="separator:a4ae1a0587cb1215cd3f3f8b64fbd3761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6fcf433d5a29141110b932a34f28383"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#ac6fcf433d5a29141110b932a34f28383">accounts</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structaccount.html">account</a>), <a class="el" href="structaccount.html">account</a>, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &gt;</td></tr>
<tr class="separator:ac6fcf433d5a29141110b932a34f28383"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94d807a8b3909ac9587169845f671951"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a94d807a8b3909ac9587169845f671951">global_dices</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(global), global_dice, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &gt;</td></tr>
<tr class="separator:a94d807a8b3909ac9587169845f671951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34385e2eead0de37a8d80374ce2532cd"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a34385e2eead0de37a8d80374ce2532cd">offers</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(global), global_dice, <a class="el" href="structdice_1_1offer__primary__key.html">offer_primary_key</a>, <a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> &gt;</td></tr>
<tr class="separator:a34385e2eead0de37a8d80374ce2532cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af3bba2ce1b2749078e2fe84c5e97919c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#af3bba2ce1b2749078e2fe84c5e97919c">apply_offer</a> (const <a class="el" href="structdice_1_1offer__bet.html">offer_bet</a> &amp;offer)</td></tr>
<tr class="separator:af3bba2ce1b2749078e2fe84c5e97919c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15cec256cbcc0b358a53f7a169815302"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a15cec256cbcc0b358a53f7a169815302">apply_cancel</a> (const <a class="el" href="structdice_1_1cancel__offer.html">cancel_offer</a> &amp;offer)</td></tr>
<tr class="separator:a15cec256cbcc0b358a53f7a169815302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7ba40e04cbb5c75cf5a0e01f92569ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#ae7ba40e04cbb5c75cf5a0e01f92569ac">apply_reveal</a> (const <a class="el" href="structdice_1_1reveal.html">reveal</a> &amp;offer)</td></tr>
<tr class="separator:ae7ba40e04cbb5c75cf5a0e01f92569ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e84deff03b01547931827a8e613ac6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a6e84deff03b01547931827a8e613ac6a">apply_claim</a> (const <a class="el" href="structdice_1_1claim__expired.html">claim_expired</a> &amp;claim)</td></tr>
<tr class="separator:a6e84deff03b01547931827a8e613ac6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f9aeffca709aa6f21dbd29235e7e445"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a> (offer)</td></tr>
<tr class="separator:a3f9aeffca709aa6f21dbd29235e7e445"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f2c13b9ffd49b4e908b2379d60e178b"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a0f2c13b9ffd49b4e908b2379d60e178b">PACKED</a> (game)</td></tr>
<tr class="separator:a0f2c13b9ffd49b4e908b2379d60e178b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13e6b8e97200662cbe81f254caa068e6"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6">Packed</a> (global_dice)</td></tr>
<tr class="separator:a13e6b8e97200662cbe81f254caa068e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2762e8dab591e9c0df8bc8d20496dca4"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#a2762e8dab591e9c0df8bc8d20496dca4">PACKED</a> (<a class="el" href="structaccount.html">account</a>)</td></tr>
<tr class="separator:a2762e8dab591e9c0df8bc8d20496dca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae09b3a3f877447164f939f485592fc91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structaccount.html">account</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedice.html#ae09b3a3f877447164f939f485592fc91">get_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:ae09b3a3f877447164f939f485592fc91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ac6fcf433d5a29141110b932a34f28383"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6fcf433d5a29141110b932a34f28383">&#9670;&nbsp;</a></span>accounts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespacedice.html#ac6fcf433d5a29141110b932a34f28383">dice::accounts</a> = typedef <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt;<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structaccount.html">account</a>),<a class="el" href="structaccount.html">account</a>,<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4ae1a0587cb1215cd3f3f8b64fbd3761"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ae1a0587cb1215cd3f3f8b64fbd3761">&#9670;&nbsp;</a></span>eos_tokens</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">dice::eos_tokens</a> = typedef eosio::tokens</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a94d807a8b3909ac9587169845f671951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94d807a8b3909ac9587169845f671951">&#9670;&nbsp;</a></span>global_dices</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespacedice.html#a94d807a8b3909ac9587169845f671951">dice::global_dices</a> = typedef <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt;<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(global),global_dice,<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a34385e2eead0de37a8d80374ce2532cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34385e2eead0de37a8d80374ce2532cd">&#9670;&nbsp;</a></span>offers</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespacedice.html#a34385e2eead0de37a8d80374ce2532cd">dice::offers</a> = typedef <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt;<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(dice),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(global),global_dice,<a class="el" href="structdice_1_1offer__primary__key.html">offer_primary_key</a>,<a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a15cec256cbcc0b358a53f7a169815302"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15cec256cbcc0b358a53f7a169815302">&#9670;&nbsp;</a></span>apply_cancel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dice::apply_cancel </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdice_1_1cancel__offer.html">cancel_offer</a> &amp;&#160;</td>
          <td class="paramname"><em>offer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Lookup offer in offer's table and assert that gameid == 0 Lookup account and increment balance by bet Deelte offer from offers table</p>

</div>
</div>
<a id="a6e84deff03b01547931827a8e613ac6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e84deff03b01547931827a8e613ac6a">&#9670;&nbsp;</a></span>apply_claim()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dice::apply_claim </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdice_1_1claim__expired.html">claim_expired</a> &amp;&#160;</td>
          <td class="paramname"><em>claim</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>No authority required by this so long as </p>
<p>lookup game by id, assert <a class="el" href="group__systemcapi.html#ga5eef43c9589d6ef54a0ece1dda5e0ffe" title="Get time of the last accepted block. ">now()</a> &gt; deadline and deadline != 0 pay the player that revealed delete game and open offers </p>

</div>
</div>
<a id="af3bba2ce1b2749078e2fe84c5e97919c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3bba2ce1b2749078e2fe84c5e97919c">&#9670;&nbsp;</a></span>apply_offer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dice::apply_offer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdice_1_1offer__bet.html">offer_bet</a> &amp;&#160;</td>
          <td class="paramname"><em>offer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<ol type="1">
<li>Lookup lowerbound on offer's by <a class="el" href="structdice_1_1offer__primary__key.html">offer_primary_key</a> if lowerbound.primary.bet == offer.bet global_dice.nextgameid++ (load and save to DB) create new game and set game.bet == offer.bet set player1 == lowerbound player set player2 == offer.player update lowerbound.primary.bet = 0 and lwoerbound.gameid = global_dice.nextgameid Create offer entry in offers table with bet = 0 and gameid == &ndash;^ else Create offer entry in offers table with bet = offer.bet and gameid = 0</li>
</ol>

</div>
</div>
<a id="ae7ba40e04cbb5c75cf5a0e01f92569ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7ba40e04cbb5c75cf5a0e01f92569ac">&#9670;&nbsp;</a></span>apply_reveal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dice::apply_reveal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdice_1_1reveal.html">reveal</a> &amp;&#160;</td>
          <td class="paramname"><em>offer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>No authority required on this message so long as it is properly revealed </p>
<p>assert offer already exists assert offer has a gameid &gt; 0</p>
<p>Lookup game by gameid assert game.player[x].reveal is 0 hasn't already been revealed set game.player[x].reveal to revealed</p>
<p>if( game.player[!x].reveal != 0 ) { uint256_t result; sha256( &amp;game.player1, sizeof(player)*2, result); if( result.words[1] &lt; result.words[0] ) { pay_player1 by incrementing account by bet and decrement open games } else pay_player2 by incrmenting account by bet and decrement open games delete game, and both offers } else { set game.deadline = <a class="el" href="group__systemcapi.html#ga5eef43c9589d6ef54a0ece1dda5e0ffe" title="Get time of the last accepted block. ">now()</a> + timeout (5 minutes) }</p>

</div>
</div>
<a id="ae09b3a3f877447164f939f485592fc91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae09b3a3f877447164f939f485592fc91">&#9670;&nbsp;</a></span>get_account()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structaccount.html">account</a> dice::get_account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>owner</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3f9aeffca709aa6f21dbd29235e7e445"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f9aeffca709aa6f21dbd29235e7e445">&#9670;&nbsp;</a></span>PACKED() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct dice::PACKED </td>
          <td>(</td>
          <td class="paramtype">offer&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This struct is used with i128xi128 index which allows us to lookup and iterate over offers by either {bet,owner,commitment} or {commitment,bet,owner}</p>
<p>Only the first 128 bits of commitment ID are used in the index, but there will be a requirement that these first 128 bits be unique and any collisions will be rejected.</p>
<p>If there is no existing offer of equal bet size then gameid is set as 0, if it is matched then a new game record is created and the offer is modified so that bet goes to 0 (and therefore moves to end of queue and not matched with other bets) and the gameid of both offers are updated. </p>

</div>
</div>
<a id="a2762e8dab591e9c0df8bc8d20496dca4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2762e8dab591e9c0df8bc8d20496dca4">&#9670;&nbsp;</a></span>PACKED() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct dice::PACKED </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structaccount.html">account</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a13e6b8e97200662cbe81f254caa068e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13e6b8e97200662cbe81f254caa068e6">&#9670;&nbsp;</a></span>Packed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct dice::Packed </td>
          <td>(</td>
          <td class="paramtype">global_dice&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0f2c13b9ffd49b4e908b2379d60e178b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f2c13b9ffd49b4e908b2379d60e178b">&#9670;&nbsp;</a></span>PACKED() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct dice::PACKED </td>
          <td>(</td>
          <td class="paramtype">game&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
